package com.usion.student.feign;

import com.usian.common.ResultVo;
import com.usion.student.pojo.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("springcloud-login")
public interface LoginFeignService {
    @RequestMapping("api/user/add")
    public ResultVo add(@RequestBody User user);

}
